package unimelb.discussiontracker.twitter.data.dao;

import java.util.List;

import unimelb.discussiontracker.twitter.common.QueryControl;
import unimelb.discussiontracker.twitter.data.entity.HashTagRanking;

public interface IHashTagRankingDao extends IDataAccessObject<HashTagRanking> {
    
    public HashTagRanking findByTagValueTopicAndIntervalId(String tagValue, long topicId, long intervalId);

    public long countKeywordBasedRankings(long topicId, long intervalId);

    public List<HashTagRanking> findKeywordBasedRankings(long topicId, long intervalId, QueryControl queryControl);

    public long countRankingsByUser(long userId, long topicId, long intervalId);

    public List<HashTagRanking> findRankingsByUser(long userId, long topicId, long intervalId, QueryControl queryControl);
    
}
